package com.guoxin.chapter3.waitnotify.valueobject;

/**
 * @author guoxin
 * @date 2019年8月22日
 */
public class ThreadSubtract extends Thread {
	private Subtract subtract;

	public ThreadSubtract(Subtract subtract) {
		super();
		this.subtract = subtract;
	}
	
	@Override
	public void run() {
		subtract.subtract();
	}
}
